package wnhz.com.business.groupshop.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017-10-19 0019.
 */

public class ShopSKUBean implements Serializable {


    /**
     * info : {"sku_attr":{"-34-":{"price":"121","store":"12","sku_id":"14","sku_info":"颜色:白色"}},"sku":[{"skuName":"颜色","data":[{"sku_id":"34","name":"白色"}]}]}
     * status : 1
     */

    private InfoBean info;
    private String status;

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public static class InfoBean {
        /**
         * sku_attr : {"-34-":{"price":"121","store":"12","sku_id":"14","sku_info":"颜色:白色"}}
         * sku : [{"skuName":"颜色","data":[{"sku_id":"34","name":"白色"}]}]
         */


        private List<SkuBean> sku;
        private List<SkuAttrBean> sku_attrList;


        public List<SkuBean> getSku() {
            return sku;
        }

        public void setSku(List<SkuBean> sku) {
            this.sku = sku;
        }

        public void setSku_attr(List<SkuAttrBean> sku_attr) {
            this.sku_attrList = sku_attr;
        }

        public List<SkuAttrBean> getSku_attr() {
            return sku_attrList;
        }

        public static class SkuBean {
            /**
             * skuName : 颜色
             * data : [{"sku_id":"34","name":"白色"}]
             */

            private String skuName;
            private List<DataBean> data;

            public String getSkuName() {
                return skuName;
            }

            public void setSkuName(String skuName) {
                this.skuName = skuName;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean {
                /**
                 * sku_id : 34
                 * name : 白色
                 */

                private String sku_id;
                private String name;
                private int status = 0;

                public String getSku_id() {
                    return sku_id;
                }

                public void setSku_id(String sku_id) {
                    this.sku_id = sku_id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getStatus() {
                    return status;
                }
            }
        }
    }
}
